package com.qf.service.doctorsService.impl;

import com.qf.entity.Doctors;
import com.qf.mapper.doctorsMapper.DoctorsMapper;
import com.qf.service.doctorsService.DoctorsService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
/**
 * (Doctors)表服务实现类
 *
 * @author makejava1
 * @since 2024-12-03 15:24:40
 */
@Service("doctorsService")
public class DoctorsServiceImpl implements DoctorsService {
    @Autowired
    private DoctorsMapper doctorsMapper;

    @Override
    public List<Doctors> list(Doctors doctors) {
        return doctorsMapper.list(doctors);
    }

    @Override
    public Doctors getById(Integer id) {
        return doctorsMapper.getById(id);
    }

    @Override
    public boolean update(Doctors doctors) {
        return false;
    }

    @Override
    public void updateDoctorAudit(Doctors doctors) {
         doctorsMapper.updateDoctorAudit(doctors);
    }



}



